<!DOCTYPE html>
<html lang="en">

<head>
	<meta name="auto" content='homo'>
	<meta charset="UTF-8">
	<title>旅行社 -首页</title>
	<link rel="stylesheet" type="text/css" href="css/style.css">
	<link rel="stylesheet" type="text/css" href="css/base.css">
	<link rel="stylesheet" type="text/css" href="css/information.css">
	<script>
		function handleSearch(event) {
			event.preventDefault(); // 阻止表单默认提交行为
			var searchTerm = document.getElementById('inp').value.toLowerCase();
			if (searchTerm === '北京') {
				window.location.href = 'https://www.beijing.gov.cn/renwen/'; // 跳转到对应的页面
			} else {
				alert('没有找到与“' + searchTerm + '”相关的页面');
			}
		}
	</script>
    <style>
	.sidebox {
	  border: 1px solid #ddd;
	  padding: 10px;
	  margin-bottom: 20px;
	  background-color: #f9f9f9;
	  position: relative;
	}
	.sidebox h2 {
	  color: #333;
	  margin-bottom: 10px;
	}
	.sidebox figure {
	  margin-bottom: 15px;
	  position: relative;
	}
	.sidebox img {
	  width: 100%;
	  height: auto;
	  transition: transform 0.3s ease;
	}
	.sidebox img:hover {
	  transform: scale(1.1);
	}
	.sidebox figcaption {
	  display: none;
	  position: absolute;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  background-color: rgba(255, 255, 255, 0.8);
	  padding: 10px;
	  font-size: 14px;
	  color: #333;
	  border-radius: 5px;
	}
	.sidebox img:hover + figcaption,
	.sidebox figcaption:hover {
	  display: block;
	}
  </style>
</head>

<body>
	<header id='header'>
		<div class='center'>
			<nav style='overflow:hidden;'>
				<h2 class="none">网站导航</h2>
				<ul class="link">
					<li class="active"><a href="#">首页</a></li>
					<li><a href="information.html">旅行信息</a></li>
					<li><a href="buy.html">订购</a></li>
					<li><a href="scenery.html">风景欣赏</a></li>
					<li><a href="login.html">登录</a></li>
				</ul>
			</nav>
		</div>
	</header>
	<div id="search">
		<div id="mask"></div>
		<div class="center">
		</div>
		<form id="searchForm" onsubmit="handleSearch(event)">
			<input class="search" id="inp" type="text" placeholder='请输入城市或景点' />
			<button class="button" type="submit">搜索</button>
		</form>

		<script type="text/javascript">
			var search = document.getElementById('inp');
			var mask = document.getElementById('mask');
			search.onfocus = opacity;
			search.onblur = stop;
			function opacity() {
				mask.style.backgroundColor = 'rgba(0,0,0,.4)';
			}
			function stop() {
				mask.style.backgroundColor = 'rgba(0,0,0,0)';
			}
		</script>
	</div>

	<div id="containter">
		<aside class='sidebar'>
			<div class="sidebox recommend">
				<h2>景点推荐</h2>
				<div class="tag">
					<ul>
						<li><a href="https://baike.so.com/doc/1049750-1110349.html">杭州西湖</a></li>
						<li><a href="https://baike.so.com/doc/5366875-5602613.html">苏州园林</a></li>
						<li><a
								href="https://baike.so.com/doc/2078977-2199238.html?from=2931714&sid=2199238&redirect=search">安徽黄山</a>
						</li>
						<li><a href="https://baike.so.com/doc/1504680-1590939.html">长江三峡</a></li>
						<li><a href="https://baike.so.com/doc/4844886-32377548.html">日月潭</a></li>
						<li><a
								href="https://baike.so.com/doc/6126282-6339441.html?from=2873791&sid=6339441&redirect=search">承德避暑山庄</a>
						</li>
						<li><a
								href="https://baike.so.com/doc/715740-757728.html?from=201246&sid=757728&redirect=search">北京故宫</a>
						</li>
						<li><a href="https://baike.so.com/doc/1052646-1113509.html">凤凰古城</a></li>
						<li><a href="https://baike.so.com/doc/1123440-1188564.html">壶口瀑布</a></li>
						<li><a href="https://baike.so.com/doc/85492-90243.html">乌镇</a></li>
						<li><a href="https://baike.so.com/doc/1944023-2056900.html">九寨沟</a></li>
						<li><a href="https://baike.so.com/doc/1576006-32307394.html">漓江</a></li>
						<li><a href="https://baike.so.com/doc/463550-32376849.html">泰山</a></li>
						<li><a href="https://baike.so.com/doc/2441383-2580773.html">平遥古城</a></li>
						<li><a
								href="https://baike.so.com/doc/5568005-32383135.html?ectk=d9b652190186171667232606524ae5d1">七彩丹霞</a>
						</li>
						<li><a href="https://baike.so.com/doc/30520937-32394950.html">长白山天池</a></li>
						<li><a href="https://baike.so.com/doc/2166291-2292251.html">可可西里</a></li>
						<li><a href="https://baike.so.com/doc/2608401-2754206.html">西塘水乡</a></li>
					</ul>
				</div>
			</div>
			<div class="sidebox hot">
				<h2>热卖旅游</h2>
				<div>
					<figure>
						<a href="balibuy.html"><img src="image/sidebar1.jpg" />
							<figcaption>巴厘岛1日游</figcaption></a>
						
					</figure>
					<figure>
						<a href="balibuy.html"><img src="image/sidebar2.jpg" />
						<figcaption>秦皇岛1日游</figcaption></a>
					</figure>
					<figure>
					<a href="balibuy copy 2.html"><img src="image/sidebar3.jpg" />
						<figcaption>冰岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy 2.html"><img src="image/sidebar4.jpg" />
						<figcaption>格陵兰岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy.html"><img src="image/sidebar5.jpg" />
						<figcaption>南沙群岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy 3.html"><img src="image/sidebar6.jpg" />
						<figcaption>火山岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy 4.html"><img src="image/sidebar7.jpg" />
						<figcaption>夏威夷岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy 5.html"><img src="image/sidebar8.jpg" />
						<figcaption>日本岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy 6.html"><img src="image/sidebar9.jpg" />
						<figcaption>空岛1日游</figcaption></a>
					</figure>
					<figure>
						<a href="balibuy copy 7.html"><img src="image/sidebar10.jpg" />
						<figcaption>斯堪的纳维亚岛1日游</figcaption></a>
					</figure>
				</div>
			</div>
			<div class="sidebox tourBox">
				<h2>旅游百宝箱</h2>
				<div>
					<a href="buy.html" class="sky1">火车票查询</a>
					<a href="buy.html" class="sky2">机票查询</a>

				</div>
			</div>
		</aside>
		<div class="list">
			<div class="infor">
				<ul class="left">
					<li><a href='#'>限时特价</a></li>
					<li><a href='#'>热门推荐</a></li>
				</ul>
				<ul class="right">
					<li><a href='#' class="checked">推荐</a></li>
					<li><a href='#'>折扣</a></li>
					<li><a href='#'>价格</a></li>
				</ul>
			</div>

			<div>
				<figure class="content">
					<img src="image/tour6.jpg" />
					<figcaption>
						<header>
							<hgroup>
								<h2>曼谷、芭提雅6日游</h2>
								<h3>包团特惠，超丰富景点，升级1晚国五，无自费，更赠送600元/成人自费券...</h3>
							</hgroup>
						</header>
						<div>
							<ul>
								<li><mark>交通</mark>:春秋航空、现在出发、无须转机</li>
								<li><mark>团期</mark>:2016-5-5</li>
							</ul>
						</div>
						<div class="buy">
							<div class="price">¥<strong>2680</strong> <s>¥3302</s></div>
							<div class="now"><a href='#'>立即抢购</a></div>
						</div>
						<div class="type">国际长线</div>
						<div class="desc">4.7折</div>
						<footer>
							活动截止时间<time>2016-2-5</time>
						</footer>
					</figcaption>
				</figure>
				<figure class="content">
					<img src="image/tour2.jpg" />
					<figcaption>
						<header>
							<hgroup>
								<h2>曼谷、芭提雅6日游</h2>
								<h3>包团特惠，超丰富景点，升级1晚国五，无自费，更赠送600元/成人自费券...</h3>
							</hgroup>
						</header>
						<div>
							<ul>
								<li><mark>交通</mark>:春秋航空、现在出发、无须转机</li>
								<li><mark>团期</mark>:2016-5-5</li>
							</ul>
						</div>
						<div class="buy">
							<div class="price">¥<strong>2680</strong> <s>¥3302</s></div>
							<div class="now"><a href='#'>立即抢购</a></div>
						</div>
						<div class="type">国际长线</div>
						<div class="desc">4.7折</div>
						<footer>
							活动截止时间<time>2016-2-5</time>
						</footer>
					</figcaption>
				</figure>
				<figure class="content">
					<img src="image/tour1.jpg" />
					<figcaption>
						<header>
							<hgroup>
								<h2>曼谷、芭提雅6日游</h2>
								<h3>包团特惠，超丰富景点，升级1晚国五，无自费，更赠送600元/成人自费券...</h3>
							</hgroup>
						</header>
						<div>
							<ul>
								<li><mark>交通</mark>:春秋航空、现在出发、无须转机</li>
								<li><mark>团期</mark>:2016-5-5</li>
							</ul>
						</div>
						<div class="buy">
							<div class="price">¥<strong>2680</strong> <s>¥3302</s></div>
							<div class="now"><a href='#'>立即抢购</a></div>
						</div>
						<div class="type">国内长线</div>
						<div class="desc">4.7折</div>
						<footer>
							活动截止时间<time>2016-2-5</time>
						</footer>
					</figcaption>
				</figure>
				<figure class="content">
					<img src="image/tour1.jpg" />
					<figcaption>
						<header>
							<hgroup>
								<h2>曼谷、芭提雅6日游</h2>
								<h3>包团特惠，超丰富景点，升级1晚国五，无自费，更赠送600元/成人自费券...</h3>
							</hgroup>
						</header>
						<div>
							<ul>
								<li><mark>交通</mark>:春秋航空、现在出发、无须转机</li>
								<li><mark>团期</mark>:2016-5-5</li>
							</ul>
						</div>
						<div class="buy">
							<div class="price">¥<strong>2680</strong> <s>¥3302</s></div>
							<div class="now"><a href='#'>立即抢购</a></div>
						</div>
						<div class="type">国内长线</div>
						<div class="desc">4.7折</div>
						<footer>
							活动截止时间<time>2016-2-5</time>
						</footer>
					</figcaption>
				</figure>
				<figure class="content">
					<img src="image/tour1.jpg" />
					<figcaption>
						<header>
							<hgroup>
								<h2>曼谷、芭提雅6日游</h2>
								<h3>包团特惠，超丰富景点，升级1晚国五，无自费，更赠送600元/成人自费券...</h3>
							</hgroup>
						</header>
						<div>
							<ul>
								<li><mark>交通</mark>:春秋航空、现在出发、无须转机</li>
								<li><mark>团期</mark>:2016-5-5</li>
							</ul>
						</div>
						<div class="buy">
							<div class="price">¥<strong>2680</strong> <s>¥3302</s></div>
							<div class="now"><a href='#'>立即抢购</a></div>
						</div>
						<div class="type">国内长线</div>
						<div class="desc">4.7折</div>
						<footer>
							活动截止时间<time>2016-2-5</time>
						</footer>
					</figcaption>
				</figure>
			</div>
		</div>
	</div>
	<br><br><br><br><br><br><br><br>
	<footer id="foot">
		<h1>联系我们</h1>
		<p>电话：13181928266</p>
		<p>邮箱：1501918713@qq.com</p>
		<p>地址：山东省青岛市崂山区青岛大学金家岭校区</p>
	</footer>
</body>

</html>